const getters = {
  token: state => state.user.token,
  avatarImgPath: state => state.user.avatarImgPath,
  userName: state => state.user.userName,
  userId: state => state.user.userId,
  allMenuRouteTree: state => state.user.allMenuRouteTree,
  accessList: state => state.user.accessList,
  isAdmin: state => state.user.isAdmin,
  loginUsername: state => state.user.loginUsername,
  state: state => state.user.state,
  sysType: state => state.user.sysType,
  telphone: state => state.user.telphone,
  addRouters: state => state.asyncRouter.addRouters
}

export default getters
